package com.aaa.mrcai.service.impl;

import com.aaa.mrcai.mapper.GoodsPermMapper;
import com.aaa.mrcai.pojo.entity.GoodsPermission;
import com.aaa.mrcai.result.AjaxResult;
import com.aaa.mrcai.service.GoodsPermService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @Author:Li-Yan-Chun
 * @Date:2021/12/5 18:24
 */
@Service
public class GoodsPermServiceImpl implements GoodsPermService {
    @Autowired
    private GoodsPermMapper goodsPermMapper;


    @Override
    public AjaxResult getInfo() {
        List<GoodsPermission> info = goodsPermMapper.getInfo();
        return AjaxResult.success(info);
    }
}
